<?php
namespace app\admin\model;

class WorkOrder extends Base
{
    protected $name = 'order';

    //设备列表
    public function getAll()
    {
        $data=$this
            ->field('id,title,detail,user_id,device_id,status,remark,remark_admin_id,created_at,updated_at')
            //->where("deleted_at","exp","is null")
            //->select()
        ;
        //var_dump($data);exit;
        return $data;
    }
}